package com.heking.qlyopensdkapp.ui;

import android.content.Context;
import android.os.Bundle;

import com.zhoug.common.adapters.recycler2.BaseRecyclerViewAdapter;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

/**
 * @Author: zhoug
 * @Date: 2023/6/12
 * @Description:
 */
public abstract class MyBaseRecyclerViewAdapter<DT> extends BaseRecyclerViewAdapter<DT> {
    private RecyclerView recyclerView;

    public MyBaseRecyclerViewAdapter() {
    }

    public MyBaseRecyclerViewAdapter(Context context) {
        super(context);
    }


    @Override
    public void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) {
        this.recyclerView = recyclerView;
        super.onAttachedToRecyclerView(recyclerView);
    }

    public RecyclerView getRecyclerView() {
        return recyclerView;
    }

}
